#pragma once
#include "wc3main.h"

const Single DEFAULT_EPSILON = 0.001;

	class TFloatWar3
	{
	public:
		TFloatWar3 operator + (const TFloatWar3 B);
		TFloatWar3 operator - (const TFloatWar3 B);
		TFloatWar3 operator - ();
		TFloatWar3 operator * (const TFloatWar3 B);
		TFloatWar3 operator / (const TFloatWar3 B);
		Boolean operator > (const TFloatWar3 B);
		Boolean operator >= (const TFloatWar3 B);
		Boolean operator < (const TFloatWar3 B);
		Boolean operator <= (const TFloatWar3 B);
		Boolean operator == (const TFloatWar3 B);

//TFloatWar3 operator explicit (const Int32 A);
//TFloatWar3 operator explicit (const Single A);
//Single operator explicit (const TFloatWar3 A);
	public:
		Single Value;
	public:
		Boolean IsApproximatelyEqualTo(const TFloatWar3 AOther, Single Epsilon);
		TFloatWar3 Abs();
	};
	typedef TFloatWar3* PFloatWar3;